package com.ruoyi.framework.minio;

public class MinioFile {
    private String fileName;
    private String objectName;
    private Long fileSize;
    private String url;
    private String fileExt;
    private String bucket;

    public MinioFile() {
    }

    public MinioFile(String bucket,String objectName) {
        this.objectName = objectName;
        this.bucket = bucket;
    }

    public MinioFile(String bucket,String objectName, String url) {
        this.objectName = objectName;
        this.url = url;
        this.bucket = bucket;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }
}
